package cn.xiaoming.car.server.content.dao.persist.mapper;

import cn.xiaoming.car.pojo.car.pojo.entity.Car;
import cn.xiaoming.car.pojo.car.pojo.entity.CarDetail;
import cn.xiaoming.car.pojo.car.pojo.vo.CarListItemVO;
import cn.xiaoming.car.pojo.car.pojo.vo.CarVO;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CarMapper extends BaseMapper<Car> {
    List<CarListItemVO> list();

    CarListItemVO getCarById(Long id);

    CarVO getDetailById(Long id);
}
